import Layout from '@/layout/index.vue'
const procurementApproval = {
  path: '/procurement',
  redirect: '/procurement/procurement-my-approval',
  component: Layout,
  meta: { title: '采购审批', icon: 'dashboard' },
  alwaysShow: true,
  children: [
    {
      path: 'procurement-my-approval',
      component: () => import('@/views/procurement-approval/procurement-my-approval/index.vue'),
      name: 'procurement-my-approval',
      meta: { title: '我的审批' }
    },
    {
      path: 'procurement-pending-approval',
      component: () => import('@/views/procurement-approval/procurement-pending-approval/index.vue'),
      name: 'procurement-pending-approval',
      meta: { title: '待审批' }
    },
    {
      path: 'procurement-had-approved',
      component: () => import('@/views/procurement-approval/procurement-had-approved/index.vue'),
      name: 'procurement-had-approved',
      meta: { title: '已审批' }
    },
    {
      path: 'procurement-cc-me',
      component: () => import('@/views/procurement-approval/procurement-cc-me/index.vue'),
      name: 'procurement-cc-me',
      meta: { title: '抄送我的' }
    },
    {
      path: 'procurement-application-record',
      component: () => import('@/views/procurement-approval/procurement-application-record/index.vue'),
      name: 'procurement-application-record',
      meta: { title: '申请记录' }
    }
  ]
}

export default procurementApproval
